<?php
class My_Controller_Plugin_Layout extends Zend_Controller_Plugin_Abstract {
	
	public function preDispatch(Zend_Controller_Request_Abstract $request) {
		$auth = Zend_Auth::getInstance();
		$indentify = $auth->getIdentity();
		Zend_Layout::getMvcInstance()->getView()->assign('auth', $indentify);
	}
}